import request from '@/utils/request'

// 查询参数列表
export function listEmployeeSalary(query) {
  return request({
    url: '/salaryApi/listEmployeeSalary',
    method: 'get',
    params: query
  })
}

// 查询参数列表
export function listEmployeeSalaryDetail(query) {
  return request({
    url: '/salaryApi/listEmployeeSalaryDetail',
    method: 'get',
    params: query
  })
}

export function  exportSalaryBills(salaryDailyId){
  console.log(salaryDailyId);
  return request({
    url: '/salaryApi/exportSalaryBills/'+salaryDailyId,
    method: 'get'
  })
}
// 查询修改工资流水参数列表
export function listLog(query) {
  return request({
    url: '/salaryApi/listLog',
    method: 'get',
    params: query
  })
}
export function updateSalary(data) {
  return request({
    url: "/salaryApi/updateSalary",
    method: "put",
    data: data
  });
}




